﻿@inherits BaseDialogPage
<Table TItem="PermissionModel" ShowLoading="true"
       ShowToolbar="true" ShowDefaultButtons="true" ShowAddButton="true"
       ShowExtendButtons="true" ShowEditButton="true" ShowDeleteButton="true"
       OnSaveAsync="OnSaveAsync" OnDeleteAsync="OnDeleteAsync"
       ShowSearch="false" ShowAdvancedSearch="false" ShowRefresh="false" IsStriped="true" IsBordered="true" ShowLineNo="true"
       IsPagination="true" OnQueryAsync="@OnQueryAsync">

    <TableColumns>
        <TableColumn @bind-Field="@context.Name" />
        <TableColumn @bind-Field="@context.PermissionCode"  />
        <TableColumn @bind-Field="@context.Remarks" />
    </TableColumns>
    <RowButtonTemplate Context="obj">
    </RowButtonTemplate>
</Table>
